// @ts-ignore
/* eslint-disable */
import { OpenApi as request } from "@/utils/request";

/** 修改用户信息 POST /mall/user/edit/profile */
export async function editUserProfile(
  body: API.EditProfileDto,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean>(
    `/barter-user/mall/user/edit/profile`,
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      data: body,
      ...(options || {}),
    }
  );
}
